strings.Reader.i (field)
24 uses
strings (current package)
reader.go#L19: i int64 // current reading index
reader.go#L26: if r.i >= int64(len(r.s)) {
reader.go#L29: return int(int64(len(r.s)) - r.i)
reader.go#L40: if r.i >= int64(len(r.s)) {
reader.go#L44: n = copy(b, r.s[r.i:])
reader.go#L45: r.i += int64(n)
reader.go#L68: if r.i >= int64(len(r.s)) {
reader.go#L71: b := r.s[r.i]
reader.go#L72: r.i++
reader.go#L78: if r.i <= 0 {
reader.go#L82: r.i--
reader.go#L88: if r.i >= int64(len(r.s)) {
reader.go#L92: r.prevRune = int(r.i)
reader.go#L93: if c := r.s[r.i]; c < utf8.RuneSelf {
reader.go#L94: r.i++
reader.go#L97: ch, size = utf8.DecodeRuneInString(r.s[r.i:])
reader.go#L98: r.i += int64(size)
reader.go#L104: if r.i <= 0 {
reader.go#L110: r.i = int64(r.prevRune)
reader.go#L123: abs = r.i + offset
reader.go#L132: r.i = abs
reader.go#L139: if r.i >= int64(len(r.s)) {
reader.go#L142: s := r.s[r.i:]
reader.go#L147: r.i += int64(m)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |